package com.huluobo.base.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.huluobo.base.bean.Money
import com.huluobo.base.bean.SearchBean
import com.huluobo.base.bean.UserBean
import com.huluobo.base.bean.VideoBean

/**
 *  Created by LC on 2024/7/4.
 */
@Database(
    entities = [VideoBean::class, Money::class, SearchBean::class, UserBean::class],
    version = 1,
    exportSchema = true
)
abstract class AppDatabase : RoomDatabase() {
    abstract fun getVideoDao(): VideoDao
    abstract fun getMoneyDao(): MoneyDao
    abstract fun getSearchDao(): SearchDao

    abstract fun getUserDao(): UserDao
}